package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考核任务对象 dw_task
 * 
 * @author ruoyi
 * @date 2024-01-19
 */
public class DwTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务编码 */
    private Long taskCode;

    /** 任务排序 */
    @Excel(name = "任务排序")
    private Integer taskSort;

    /** 任务名 */
    @Excel(name = "任务名")
    private String taskName;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setTaskCode(Long taskCode) 
    {
        this.taskCode = taskCode;
    }

    public Long getTaskCode() 
    {
        return taskCode;
    }
    public void setTaskSort(Integer taskSort) 
    {
        this.taskSort = taskSort;
    }

    public Integer getTaskSort() 
    {
        return taskSort;
    }
    public void setTaskName(String taskName) 
    {
        this.taskName = taskName;
    }

    public String getTaskName() 
    {
        return taskName;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskCode", getTaskCode())
            .append("taskSort", getTaskSort())
            .append("taskName", getTaskName())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
